import 'package:flutter/material.dart';

class RegisterFirstPage extends StatefulWidget {
  const RegisterFirstPage({super.key});

  @override
  State<RegisterFirstPage> createState() => _RegisterFirstPageState();
}

class _RegisterFirstPageState extends State<RegisterFirstPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: const Text('Register First'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              ///新增注册输入框和按钮，用户名 密码 确认密码
              const TextField(
                decoration: InputDecoration(
                  labelText: 'Username',
                ),
              ),
              const TextField(
                decoration: InputDecoration(
                  labelText: 'Password',
                ),
              ),
              const TextField(
                decoration: InputDecoration(
                  labelText: 'Confirm Password',
                ),
              ),
              ElevatedButton(
                onPressed: () {
                  // 处理注册逻辑
                },
                child: const Text('Register'),
              ),
            ],
          ),
        )
    );
  }
}
